package cn.wh.beans.factory;

import cn.wh.beans.BeansException;

/**
 * @author: wh
 * @create: 2022-09-15 16:37
 * @description
 **/
public interface BeanFactory {

    Object getBean(String name) throws BeansException;

    Object getBean(String name,Object...args)throws BeansException;

    <T> T getBean(String name, Class<T> requiredType)throws BeansException;

}
